package com.qy137.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 皇子明
 * @since 2021-08-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Staff对象", description="")
public class Staff implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "员工id")
    @TableId(value = "stf_id", type = IdType.AUTO)
    private Integer stfId;

    @ApiModelProperty(value = "员工姓名")
    private String stfName;

    @ApiModelProperty(value = "员工密码")
    private Integer stfPassword;

    @ApiModelProperty(value = "员工性别")
    private String stfSex;

    @ApiModelProperty(value = "员工年龄")
    private Integer stfAge;

    @ApiModelProperty(value = "员工身份证")
    private String stfCard;

    @ApiModelProperty(value = "员工电话")
    private String stfPhone;

    @ApiModelProperty(value = "员工地址")
    private String stfAddress;

    @ApiModelProperty(value = "员工在职状态")
    private Integer stfState;

    @ApiModelProperty(value = "所属部门")
    private Integer depId;

    @ApiModelProperty(value = "员工对应的分店")
    private Integer bId;

    @ApiModelProperty(value = "员工职位连接ID")
    private Integer rId;

    @ApiModelProperty(value = "员工注册时间")
    private LocalDate stfRegist;

    @ApiModelProperty(value = "员工开始工作时间")
    private LocalDate stfStart;

    @ApiModelProperty(value = "员工结束时间")
    private LocalDate stfEnd;

    @ApiModelProperty(value = "头像路径")
    private String stfUrl;

    @ApiModelProperty(value = "验证码")
    private Integer stfCode;


}
